import Vue from 'vue'
import App from './app.vue'

import vueRouter from 'vue-router'
import createRouter from './config/router.js'

import Vuex from 'vuex'
import createStore from './store/store.js'

import './assets/styles/global.less'
const root = document.createElement('div')
document.body.appendChild(root)

Vue.use(vueRouter);
const router = createRouter();

Vue.use(Vuex);
const store = createStore();

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount(root)
